<template>
<div>
	<x-button type="primary"  @click="goDetail">primary</x-button>
	<navfooter></navfooter>
</div>
</template>
<script>
import navfooter from '../navFooter.vue'
import XButton from 'vux-components/x-button'
export default {
		name: 'module4',
		components: {
			navfooter,
			XButton
		},
    data(){
      return{
    }},
    methods:{
      goDetail(){
        this.$router.go({name:'goDetail',params:{id:11231}});
      }
    }
	}
</script>
<style lang="scss"></style>
